<#include "../common/_layout.html" />
<@head title="附件管理编辑">
<style type="text/css">
	.cll {
		background-color: #ddd;
	}
</style>
</@head>
<@layout menu='/uploadfile'>
<section class="content-header">
	<h1>
		舟山汇智智能科技有限公司
	</h1>
	<ol class="breadcrumb">
		<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
		<li><a href="#">lte</a></li>
		<li class="active">prj</li>
	</ol>
</section>
<section class="content">
	<div class="row">
		<div class="col-xs-12">
			<div class="box">
				<form action="${ctx}/uploadfile/save" method="post" role="form">
					<legend>添加/修改信息</legend>
					<input type="hidden" name="id" id="id" value="${uploadFile.id!}">
					<div class="form-group">
						<label for="complaint_id">意见ID</label>
						<input type="number" class="form-control" id="complaint_id" name="complaint_id" placeholder="意见ID" value="${uploadFile.complaint_id!}">
					</div>
					<div class="form-group">
						<label for="name">文件名</label>
						<input type="text" class="form-control" id="name" name="name" placeholder="文件名" value="${uploadFile.name!}">
					</div>
					<div class="form-group">
						<label for="url">存储路径</label>
						<input type="text" class="form-control" id="url" name="url" placeholder="存储路径" value="${uploadFile.url!}">
					</div>
					<div class="form-group">
						<label for="file_type">文件类型</label>
						<input type="text" class="form-control" id="file_type" name="file_type" placeholder="文件类型" value="${uploadFile.file_type!}">
					</div>
					<div class="form-group">
						<label for="create_time">创建时间</label>
						<input type="date" class="form-control" id="create_time" name="create_time" value="<#if uploadFile.create_time??>${uploadFile.create_time?date}</#if>">
					</div>
					<button type="submit" class="btn btn-primary">保存</button><button type="submit" class="btn btn-cancle" onclick="javascript :history.back(-1);">返回</button>
				</form>
			</div>
		</div>
	</div>
</section>
</@layout>
<@scripts>
<script type="text/javascript">
	$(document).ready(function(){

	});
</script>
</@scripts>